<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="sec" uri="/WEB-INF/tld/sys-permission.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<div class="row">
    <div class="col-sm-12">
        <h4 class="pull-left page-title">题库</h4>
        <ol class="breadcrumb pull-right">
            <li><a data-target="divload" data-div="baseContainer">题库</a></li>
            <li class="active">内容管理</li>
        </ol>
    </div>
</div>

<div class="panel adapt-window-height">
    <div class="panel-body">
        <div class="mt20">
            <div class="m-b-10">
                <form id="paramForm" class="form-inline" tableId="quesContentTableId" onsubmit="return false;">

                    </label>
                    <div class="form-group fr">
                        <a class="btn btn-primary"
                           href="${pageContext.request.contextPath}/filesystem/toUpload?maxNum=1&uploadSuccessMethod=uploadContentCallBack&uploadUrl=/ques/content/uploadContent&fileFormat=xls,xlsx,zip"
                           data-toggle="modal" data-target="#base_modal">上传内容</a>
                        <button class="btn btn-primary waves-effect searchBtn">查询</button>
                        <button class="btn btn-primary waves-effect clearSearch">清空</button>
                    </div>
                </form>
            </div>
            <table  data-toggle="table"  data-classes="table table-hover"
                    data-pagination="true"
                    data-url="${pageContext.request.contextPath}/ques/content/listData" id="quesContentTableId"
                    data-side-pagination="server">
                <thead>
                <tr>
                    <th data-field="" data-align="left" data-formatter="operateRender">操作</th>
                    <th data-field="text" data-align="left">文件名称</th>
                    <th data-field="createBy" data-align="left">上传人</th>
                    <th data-field="usPhonetic" data-align="left">上传时间</th>
                </tr>
                </thead>
            </table>
        </div>
    </div>
</div>
<form id="exportForm" target="_self" method="post" action="${pageContext.request.contextPath}/vocab/exportExcel">
    <input type="hidden" name="code" value="">
</form>
<form id="exportAudioForm" target="_self" method="post" action="${pageContext.request.contextPath}/vocab/exportAudio">
    <input type="hidden" name="code" value="">
</form>

<script src="${pageContext.request.contextPath}/assets/js/module/ques/content/ques_content_list.js"></script>
</html>